package com.ly.user_system.dto;

import com.ly.user_system.base.BaseDto;
import com.ly.user_system.entity.BaseSysRoleDepartment;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.RequiredArgsConstructor;


@Data
@AutoMapper(target = BaseSysRoleDepartment.class)
@RequiredArgsConstructor
public class BaseSysRoleDepartmentDTO extends BaseDto {
    private Long roleId;
    private Long departmentId;

    public BaseSysRoleDepartmentDTO(Long roleId, Long departmentId) {
        this.roleId = roleId;
        this.departmentId = departmentId;
    }
}